package com.gch.programa.dao;

/**
 *
 * @author Student
 */
public class FactoryDao {
    
    private static FactoryDao instance;
    
    private FactoryDao() {
    }
    
    public static FactoryDao getInstance() {
        if ( instance == null) {
            instance = new FactoryDao();
        }
        return instance;
    }
    
    public ProgramaDao getProgramaDao() {
        //return new ProgramaDaoImplMemoria();
        return new ProgramaDaoImplJPA();
        
    }
}
